
class carts{
    constructor(valus) {
        this.valus = valus;
        
    }
}

class deltete{
    constructor(userid, goodsid) {
        this.userid = userid;
        this.goodsid = goodsid;
    }
}

class select{
    constructor(page=1,size=10) {
        this.page = page*1;
        this.size = size*1;
    }
}
class list{
    constructor(field,input) {
        this.field = field;
        this.input = input;
    }
}


class update{
    constructor(userid, goodsid, qty) {
        this.userid = userid;
        this.goodsid = goodsid;
        this.qty = qty;
    }
}
module.exports = {carts,deltete,select,update,list};